<template>
  <h2>{{title}}</h2>
  <product-item></product-item>
</template>

<script>
  import ProductItem from "@/ProductItem.vue";
  export default{
    components:{
      ProductItem
    },
    data(){
      return {
        title:"我是标题"
      }
    }
  }
</script>

<style lang="scss">
  h2{
    color: red;
  }
</style>
